
part of 'sync_bloc.dart';

/// Abstract class for all events that can be dispatched from the
///Login widget.
///
/// Events must be immutable and implement the [Equatable] interface.
@immutable
abstract class SyncEvent extends Equatable {}

/// Event that is dispatched when the Login widget is first created.
class SyncInitialEvent extends SyncEvent {
  @override
  List<Object?> get props => [];
}

class SyncOnTapLoginEvent extends SyncEvent {
  @override
  List<Object?> get props => [];
}
class FetchAllOperationsEvent extends SyncEvent {
  @override
  List<Object?> get props => [];
}
class FetchPOperationsEvent extends SyncEvent {
  @override
  List<Object?> get props => [];
}
class FetchSOperationsEvent extends SyncEvent {
  @override
  List<Object?> get props => [];
}
class FetchFOperationsEvent extends SyncEvent {
  @override
  List<Object?> get props => [];
}
class SyncPendingOperationsEvent extends SyncEvent {
  @override
  List<Object?> get props => [];
}

class ReSyncOperationEvent extends SyncEvent {
  final SyncOperation operation;
  ReSyncOperationEvent({required this.operation});
  @override
  List<Object?> get props => [operation];
}